#ifndef __BSP_SPI_H__
#define __BSP_SPI_H__

#include "imx6u.h"


void spi_init(ECSPI_Type *base);
unsigned char spi_readwrite_onebyte(ECSPI_Type *base, unsigned char value);


#endif